Optimal. Leaf size=287 \[ \frac{4 c \tanh ^{-1}\left (\frac{\sqrt{d+e x} \sqrt{2 c f-g \left (\sqrt{b^2-4 a c}+b\right )}}{\sqrt{f+g x} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )} \sqrt{2 c f-g \left (\sqrt{b^2-4 a c}+b\right )}}-\frac{4 c \tanh ^{-1}\left (\frac{\sqrt{d+e x} \sqrt{2 c f-g \left (b-\sqrt{b^2-4 a c}\right )}}{\sqrt{f+g x} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )} \sqrt{2 c f-g \left (b-\sqrt{b^2-4 a c}\right )}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.05461, antiderivative size = 287, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.097 \[ \frac{4 c \tanh ^{-1}\left (\frac{\sqrt{d+e x} \sqrt{2 c f-g \left (\sqrt{b^2-4 a c}+b\right )}}{\sqrt{f+g x} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )} \sqrt{2 c f-g \left (\sqrt{b^2-4 a c}+b\right )}}-\frac{4 c \tanh ^{-1}\left (\frac{\sqrt{d+e x} \sqrt{2 c f-g \left (b-\sqrt{b^2-4 a c}\right )}}{\sqrt{f+g x} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{\sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )} \sqrt{2 c f-g \left (b-\sqrt{b^2-4 a c}\right )}} \]
Antiderivative was successfully verified.
[In] Int[1/(Sqrt[d + e*x]*Sqrt[f + g*x]*(a + b*x + c*x^2)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(e*x+d)**(1/2)/(c*x**2+b*x+a)/(g*x+f)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 6.23863, size = 1000, normalized size = 3.48 \[ \frac{\sqrt{2} c \log \left (-b-2 c x+\sqrt{b^2-4 a c}\right )}{\sqrt{b^2-4 a c} \sqrt{e g b^2-c e f b-c d g b-\sqrt{b^2-4 a c} e g b+2 c^2 d f+c \sqrt{b^2-4 a c} e f+c \sqrt{b^2-4 a c} d g-2 a c e g}}-\frac{\sqrt{2} c \log \left (b+2 c x+\sqrt{b^2-4 a c}\right )}{\sqrt{b^2-4 a c} \sqrt{e g b^2-c e f b-c d g b+\sqrt{b^2-4 a c} e g b+2 c^2 d f-c \sqrt{b^2-4 a c} e f-c \sqrt{b^2-4 a c} d g-2 a c e g}}-\frac{\sqrt{2} c \log \left (e f b^2+d g b^2+2 e g x b^2-\sqrt{b^2-4 a c} e f b-\sqrt{b^2-4 a c} d g b-2 \sqrt{b^2-4 a c} e g x b+4 c \sqrt{b^2-4 a c} d f-4 a c e f-4 a c d g+2 c \sqrt{b^2-4 a c} e f x+2 c \sqrt{b^2-4 a c} d g x-8 a c e g x+2 \sqrt{2} \sqrt{b^2-4 a c} \sqrt{e g b^2-c e f b-c d g b-\sqrt{b^2-4 a c} e g b+2 c^2 d f+c \sqrt{b^2-4 a c} e f+c \sqrt{b^2-4 a c} d g-2 a c e g} \sqrt{d+e x} \sqrt{f+g x}\right )}{\sqrt{b^2-4 a c} \sqrt{e g b^2-c e f b-c d g b-\sqrt{b^2-4 a c} e g b+2 c^2 d f+c \sqrt{b^2-4 a c} e f+c \sqrt{b^2-4 a c} d g-2 a c e g}}+\frac{\sqrt{2} c \log \left (-e f b^2-d g b^2-2 e g x b^2-\sqrt{b^2-4 a c} e f b-\sqrt{b^2-4 a c} d g b-2 \sqrt{b^2-4 a c} e g x b+4 c \sqrt{b^2-4 a c} d f+4 a c e f+4 a c d g+2 c \sqrt{b^2-4 a c} e f x+2 c \sqrt{b^2-4 a c} d g x+8 a c e g x+2 \sqrt{2} \sqrt{b^2-4 a c} \sqrt{e g b^2-c e f b-c d g b+\sqrt{b^2-4 a c} e g b+2 c^2 d f-c \sqrt{b^2-4 a c} e f-c \sqrt{b^2-4 a c} d g-2 a c e g} \sqrt{d+e x} \sqrt{f+g x}\right )}{\sqrt{b^2-4 a c} \sqrt{e g b^2-c e f b-c d g b+\sqrt{b^2-4 a c} e g b+2 c^2 d f-c \sqrt{b^2-4 a c} e f-c \sqrt{b^2-4 a c} d g-2 a c e g}} \]
Antiderivative was successfully verified.
[In] Integrate[1/(Sqrt[d + e*x]*Sqrt[f + g*x]*(a + b*x + c*x^2)),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.072, size = 5507, normalized size = 19.2 \[ \text{output too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(e*x+d)^(1/2)/(c*x^2+b*x+a)/(g*x+f)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{{\left (c x^{2} + b x + a\right )} \sqrt{e x + d} \sqrt{g x + f}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^2 + b*x + a)*sqrt(e*x + d)*sqrt(g*x + f)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^2 + b*x + a)*sqrt(e*x + d)*sqrt(g*x + f)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{\sqrt{d + e x} \sqrt{f + g x} \left (a + b x + c x^{2}\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(e*x+d)**(1/2)/(c*x**2+b*x+a)/(g*x+f)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^2 + b*x + a)*sqrt(e*x + d)*sqrt(g*x + f)),x, algorithm="giac")
[Out]